<div class="right">
        
<div class="category2">
        		<div class="detail_info">
               <form method="POST" id="frm" action="<?php echo site_url('mua-hang')?>">
                	<h2 class="css_h2"><?php echo $product->name_product?></h2>
                    <div class="image">
                    	<img src="<?php echo base_url().$product->image?>" width="" align="left">
                    </div>
                    <div class="info_price">
                    	<table class="css_table">
                        	<tr>
                            	<td width="100%" colspan="2"></td>                               
                            </tr>
                        	<tr>
                            	<td width="30%">Sản xuất </td>
                                <td width="70%">nhật bản </td>
                            </tr>
                        	<tr>
                            	<td width="30%">Giá </td>
                                <td width="70%"><?php echo number_format($product->price,0,'','.')?> (VND)</td>
                            </tr>
                            <tr>
                            	<td width="30%">Tình trạng </td>
                                <td width="70%">Còn </td>
                            </tr>
                            <tr>
                            	<td width="20%">&nbsp; 
                           </td>
                                <td width="80%"><input type="hidden"  name="id_product" value="<?php echo $product->id_product;?>" />
                        
                        <input type="hidden" name="qty" value="1" size="3" />
                        <div class="button2"><a href="javascript:void()" onclick="$('#frm').submit()">Giỏ hàng</a></div></td>
                            </tr>
                        </table>
                    </div>
                 </form>   
<style>			
H1 { margin-bottom: 2px; font-family: Garamond, "Times New Roman", Times, Serif;}
DIV.container { margin: auto; width: 90%; margin-bottom: 10px;}
TEXTAREA { width: 80%;}
FIELDSET { border: 1px solid #ccc; padding: 1em; margin: 0; }
LEGEND { color: #ccc; font-size: 120%; }
INPUT, TEXTAREA { font-family: Arial, verdana; font-size: 125%; padding: 7px; border: 1px solid #999; }
LABEL { display: block; margin-top: 10px; }
IMG { margin: 5px; }
UL.tabNavigation {
list-style: none;
margin: 0;
padding: 0;
}
UL.tabNavigation LI {
display: inline;
}
UL.tabNavigation LI A {
padding: 3px 5px;
background-color: #ccc;
color: #000;
text-decoration: none;
}
UL.tabNavigation LI A.selected,
UL.tabNavigation LI A:hover {
background-color: #67016B;
color: #fff;
padding-top: 7px;
}
UL.tabNavigation LI A:focus {
outline: 0;
}
div.tabs > div {
padding: 5px;
margin-top: 3px;
border: 5px solid #ccc;
}
div.tabs > div h2 {
margin-top: 0;
}
#first {

}
#second {

}
#third {

}

					</style>
              
                   
    <p style=" clear: both"></p>
     </div>
      <div class="tabs">
<ul class="tabNavigation">
<li><a href="#first">Mô tả </a></li>
<li><a href="#second">Bình luận</a></li>
</ul>
<div id="first">
<p><?php echo $product->description;?></p>
</div>
<div id="second">
<p>
<form action="" method="post">
<table style="border:1px solid #ccc; width:500px; padding:5px; font-weight:bold;">
	<tr>
    	<td>Email : </td>
        <td><input type="text" name="txt_email"></td>
    </tr>
    <tr>
    	<td>Họ và tên : </td>
        <td><input type="text" name="txt_email"></td>
    </tr>
    <tr>
    	<td>Nội dung : </td>
        <td><textarea name="txt_comment" rows="5"></textarea></td>
    </tr>
    <tr>
    	<td></td>
        <td><input type="submit" value="Post Comment" id="submit" name="submit"></td>
    </tr>
</table>
</form>
</p>
</div>
</div>
<?php
	$show = $this->category_model->show_product_cats($product->id_cats,$product->id_product);
	               
?>
                   <?php foreach($show as $row) : ?>
                       <form id="a" method="post" action="">
                            <div class="p-box">
                            <span class="p-pricetxt"><a href="<?php echo site_url('san-pham/'.$row->url.'-'.$row->id_product);?>"><?php echo $row->name_product;?></a></span>
                            <a data-tooltip="sticky<?php echo $row->id_product;?>" title="<?php echo $row->name_product;?>" href="<?php echo site_url('san-pham/'.$row->url.'-'.$row->id_product);?>"><img width="200" height="143" class="p-img" alt="<?php echo $row->name_product;?>" src="<?php echo base_url()?><?php echo $row->image?>"></a>
                            <div class="p-tahoma">
                            <input type="hidden"  name="id_product" value="<?php echo $row->id_product;?>" />                           
                            <input type="hidden" name="qty" value="1" size="3" />
                                <div class="info_price2">
                                    	<div class="price"><span class="txt_price"><?php echo number_format($row->price,0,'','.')?> (VND)</span></div>
                                        <div class="button2"><a href="javascript:void(0)" class="act" id="<?php echo $row->id_product?>">Giỏ hàng</a></div>                                
                                    </div>    
                                </div>                          
                            </div> 
                                                   
                        </form>
                        <?php endforeach; ?> 
                </div>
                    
        </div>
        <p style=" clear:both"></p>
        </div>
        
        
       